import request from '@/utils/request'

export default {

  /**
   * 分页查询运单信息
   * @param pageNum
   * @param pageSize
   * @returns {AxiosPromise}
   */
  findTransportPage(pageNum, pageSize) {
    return request({
      url: `/tms-work/task-transport/findByPage/${pageNum}/${pageSize}`,
      method: 'get'
    })
  },
  /**
   * 根据运输Id获取运输任务详情
   * @param id
   * @returns {AxiosPromise}
   */
  findTransportDetailsById(id) {
    return request({
      url: `/tms-work/task-transport/findTransportDetailsById/${id}`,
      method: 'get'
    })
  }
}
